package com.zhongke.cotrun.service;

import com.zhongke.cotrun.model.pojo.UserAllIntegral;

import java.math.BigDecimal;
import java.util.List;

public interface UserAllIntegralService {
    /**
     * 查看自己的账户
     * @param userId
     * @return
     */
    public List<UserAllIntegral> selectUserAllIntegral(Integer userId);

    /**
     * 查看自己的积分值
     * @param userId
     * @return
     */
    public BigDecimal selectUserAllIntegralById(Integer userId);
}
